<template name="channel_members_panel">
  <div id="channel-members-panel-content" class="flex-grow-1 position-relative">
    <div class="form-group p-3 mb-0">
      <input type="text" id="channel-members-panel-search" class="form-control" placeholder="搜索用户">
    </div>
    <div class="px-3 mb-3">
      <button type="button" class="btn btn-light btn-block" id="invite-member-button">邀请好友加入</button>
    </div>
    <div class="list-group list-group-flush">
      {{#each result in results}}
        {{> channel_members_list_item result=result isOwner=isOwner}}
      {{/each}}
      {{#if loading}}
        {{> loader_ball_beat}}
      {{/if}}
    </div>
    {{> invite_member_modal}}
  </div>
</template>